package com.qulai.amazon_us.domain.basic;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qulai.common.annotation.Excel;
import com.qulai.common.core.domain.BaseEntity;

/**
 * 商品图片对象 basic_image
 *
 * @author hunan
 * @date 2025-01-16
 */
public class Image extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private String id;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 商家状态 */
    @Excel(name = "商家状态")
    private Integer published;

    /** 货源ID */
    @Excel(name = "货源ID")
    private Long basicId;

    /** 货源SKU */
    @Excel(name = "货源SKU")
    private String sku;

    /** 大类目 */
    @Excel(name = "大类目")
    private String className;

    /** 小类目 */
    @Excel(name = "小类目")
    private String productType;

    /** 货源平台 */
    @Excel(name = "货源平台")
    private String platform;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 主图 */
    @Excel(name = "主图")
    private String mainImage;

    /** 副图1 */
    @Excel(name = "副图1")
    private String otherImageUrl1;

    /** 副图2 */
    @Excel(name = "副图2")
    private String otherImageUrl2;

    /** 副图3 */
    @Excel(name = "副图3")
    private String otherImageUrl3;

    /** 副图4 */
    @Excel(name = "副图4")
    private String otherImageUrl4;

    /** 副图5 */
    @Excel(name = "副图5")
    private String otherImageUrl5;

    /** 副图6 */
    @Excel(name = "副图6")
    private String otherImageUrl6;

    /** 副图7 */
    @Excel(name = "副图7")
    private String otherImageUrl7;

    /** 副图8 */
    @Excel(name = "副图8")
    private String otherImageUrl8;

    /** 9 */
    @Excel(name = "9")
    private String otherImageUrl9;

    /** 10 */
    @Excel(name = "10")
    private String otherImageUrl10;

    /** 11 */
    @Excel(name = "11")
    private String otherImageUrl11;

    /** 12 */
    @Excel(name = "12")
    private String otherImageUrl12;

    /** 13 */
    @Excel(name = "13")
    private String otherImageUrl13;

    /** 14 */
    @Excel(name = "14")
    private String otherImageUrl14;

    /** 15 */
    @Excel(name = "15")
    private String otherImageUrl15;

    /** json存储ocr识别结果{"main":[],"1":[]} */
    @Excel(name = "json存储ocr识别结果")
    private String ocrResult = "{}";

    /** OCR状态 */
    @Excel(name = "OCR状态")
    private Integer ocrStatus;

    /** 图片数量 */
    @Excel(name = "图片数量")
    private Integer imageCount;

    /**
     * 可售平台(取反)
     */
    @Excel(name = "可售平台(取反)")
    private String notAvailable;

    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称")
    private String supplierName;

    public Integer imageIndex;


    public Integer getImageCount()
    {
        return imageCount;
    }

    public void setImageCount(Integer imageCount)
    {
        this.imageCount = imageCount;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public void setNotAvailable(String notAvailable) {

        this.notAvailable = notAvailable;
    }

    public String getId()
    {
        return id;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setPublished(Integer published)
    {
        this.published = published;
    }

    public Integer getPublished()
    {
        return published;
    }
    public void setBasicId(Long basicId)
    {
        this.basicId = basicId;
    }

    public Long getBasicId()
    {
        return basicId;
    }
    public void setSku(String sku)
    {
        this.sku = sku.trim();
    }

    public String getSku()
    {
        return sku;
    }
    public void setClassName(String className)
    {
        if (className != null ) {
            this.className = className.trim();
        }else {
            this.className = null;
        }

    }

    public String getClassName()
    {
        return className;
    }
    public void setProductType(String productType)
    {
        if (productType != null ) {
            this.productType = productType.trim();
        }else {
            this.productType = null;
        }

    }

    public String getProductType()
    {
        return productType;
    }
    public void setPlatform(String platform)
    {
        if (platform != null ) {
            this.platform = platform.trim();
        }else {
            this.platform = null;
        }
    }

    public String getPlatform()
    {
        return platform;
    }
    public void setTitle(String title)
    {
        if (title != null ) {
            this.title = title.trim();
        }else {
            this.title = null;
        }
    }

    public String getTitle()
    {
        return title;
    }
    public void setMainImage(String mainImage)
    {
        if (mainImage != null ) {
            this.mainImage = mainImage.trim();
        }else {
            this.mainImage = null;
        }
    }

    public String getMainImage()
    {
        return mainImage;
    }
    public void setOtherImageUrl1(String otherImageUrl1)
    {
        this.otherImageUrl1 = otherImageUrl1;
    }

    public String getOtherImageUrl1()
    {
        return otherImageUrl1;
    }
    public void setOtherImageUrl2(String otherImageUrl2)
    {
        this.otherImageUrl2 = otherImageUrl2;
    }

    public String getOtherImageUrl2()
    {
        return otherImageUrl2;
    }
    public void setOtherImageUrl3(String otherImageUrl3)
    {
        this.otherImageUrl3 = otherImageUrl3;
    }

    public String getOtherImageUrl3()
    {
        return otherImageUrl3;
    }
    public void setOtherImageUrl4(String otherImageUrl4)
    {
        this.otherImageUrl4 = otherImageUrl4;
    }

    public String getOtherImageUrl4()
    {
        return otherImageUrl4;
    }
    public void setOtherImageUrl5(String otherImageUrl5)
    {
        this.otherImageUrl5 = otherImageUrl5;
    }

    public String getOtherImageUrl5()
    {
        return otherImageUrl5;
    }
    public void setOtherImageUrl6(String otherImageUrl6)
    {
        this.otherImageUrl6 = otherImageUrl6;
    }

    public String getOtherImageUrl6()
    {
        return otherImageUrl6;
    }
    public void setOtherImageUrl7(String otherImageUrl7)
    {
        this.otherImageUrl7 = otherImageUrl7;
    }

    public String getOtherImageUrl7()
    {
        return otherImageUrl7;
    }
    public void setOtherImageUrl8(String otherImageUrl8)
    {
        this.otherImageUrl8 = otherImageUrl8;
    }

    public String getOtherImageUrl8()
    {
        return otherImageUrl8;
    }
    public void setOtherImageUrl9(String otherImageUrl9)
    {
        this.otherImageUrl9 = otherImageUrl9;
    }

    public String getOtherImageUrl9()
    {
        return otherImageUrl9;
    }
    public void setOtherImageUrl10(String otherImageUrl10)
    {
        this.otherImageUrl10 = otherImageUrl10;
    }

    public String getOtherImageUrl10()
    {
        return otherImageUrl10;
    }
    public void setOtherImageUrl11(String otherImageUrl11)
    {
        this.otherImageUrl11 = otherImageUrl11;
    }

    public String getOtherImageUrl11()
    {
        return otherImageUrl11;
    }
    public void setOtherImageUrl12(String otherImageUrl12)
    {
        this.otherImageUrl12 = otherImageUrl12;
    }

    public String getOtherImageUrl12()
    {
        return otherImageUrl12;
    }
    public void setOtherImageUrl13(String otherImageUrl13)
    {
        this.otherImageUrl13 = otherImageUrl13;
    }

    public String getOtherImageUrl13()
    {
        return otherImageUrl13;
    }
    public void setOtherImageUrl14(String otherImageUrl14)
    {
        this.otherImageUrl14 = otherImageUrl14;
    }

    public String getOtherImageUrl14()
    {
        return otherImageUrl14;
    }
    public void setOtherImageUrl15(String otherImageUrl15)
    {
        this.otherImageUrl15 = otherImageUrl15;
    }

    public String getOtherImageUrl15()
    {
        return otherImageUrl15;
    }
    public void setOcrResult(String ocrResult)
    {
        this.ocrResult = ocrResult;
    }

    public String getOcrResult()
    {
        return ocrResult;
    }
    public void setOcrStatus(Integer ocrStatus)
    {
        this.ocrStatus = ocrStatus;
    }

    public Integer getOcrStatus()
    {
        return ocrStatus;
    }


    public String getNotAvailable() {
        return notAvailable;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }
    public String getSupplierName() {
        return supplierName;
    }

    public Integer getImageIndex() {
        return imageIndex;
    }

    public void setImageIndex(Integer imageIndex) {
        this.imageIndex = imageIndex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("status", getStatus())
                .append("published", getPublished())
                .append("basicId", getBasicId())
                .append("sku", getSku())
                .append("className", getClassName())
                .append("productType", getProductType())
                .append("platform", getPlatform())
                .append("title", getTitle())
                .append("mainImage", getMainImage())
                .append("otherImageUrl1", getOtherImageUrl1())
                .append("otherImageUrl2", getOtherImageUrl2())
                .append("otherImageUrl3", getOtherImageUrl3())
                .append("otherImageUrl4", getOtherImageUrl4())
                .append("otherImageUrl5", getOtherImageUrl5())
                .append("otherImageUrl6", getOtherImageUrl6())
                .append("otherImageUrl7", getOtherImageUrl7())
                .append("otherImageUrl8", getOtherImageUrl8())
                .append("otherImageUrl9", getOtherImageUrl9())
                .append("otherImageUrl10", getOtherImageUrl10())
                .append("otherImageUrl11", getOtherImageUrl11())
                .append("otherImageUrl12", getOtherImageUrl12())
                .append("otherImageUrl13", getOtherImageUrl13())
                .append("otherImageUrl14", getOtherImageUrl14())
                .append("otherImageUrl15", getOtherImageUrl15())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("ocrResult", getOcrResult())
                .append("ocrStatus", getOcrStatus())
                .append("remark", getRemark())
                .append("updateBy", getUpdateBy())
                .append("notAvailable", getNotAvailable())
                .append("supplierName", getSupplierName())
                .append("imageIndex", getImageIndex())
                .toString();
    }
}
